<template>
  <div class="faceBox">
    <div class="face">
      <div class="eye"></div>
      <div class="eye"></div>
    </div>
  </div>

</template>

<script>
export default {
name: "EyeMove",
  methods:{


  }
}
</script>

<style scoped>
.faceBox{
  /*width: 100%;*/
  /*height: 100px;*/
  /*margin: auto;*/
  /*display: flex;*/
  /*justify-content: end;*/
}
.face{
  /*width: 200px;*/
  /*height: 200px;*/
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg,rgb(252, 207, 5) ,rgb(255, 240, 36));
  position: relative;
  box-shadow: inset 0 0 3px rgb(15, 15, 9),
  inset 0 0 5px rgb(15, 15, 9);
}
.face::after{
  content: '';
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  /*width: 90px;*/
  /*height: 40px;*/
  width: 22px;
  height: 10px;
  background-color: rgb(255, 199, 45);
  border-radius:  0 0 70px 70px;
  box-shadow: inset 0 0 5px rgb(53, 53, 53);
}
.eye{
  position: absolute;
  /*width: 60px;*/
  /*height: 60px;*/
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: inset 0 0 5px rgb(58, 58, 58);
}
.face .eye:nth-child(1){
  top: 26%;
  left: 12%;
}
.face .eye:nth-child(2){
  top: 26%;
  right: 12%;
}
.eye::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  transform: transLateY(-50%);
  /*width: 50%;*/
  /*height: 50%;*/
  width: 44%;
  height: 44%;
  background-color: #000;
  border-radius: 50%;
  box-shadow: inset 0 0 3px white,
  inset 0 0 5px white;
}
</style>